<svg xmlns="http://www.w3.org/2000/svg" height="512" width="512" viewBox="0 0 512 512">
  <g fill-rule="evenodd">
    <path fill="#009a00" d="M0 383.993h511.993v128H0z"/>
    <path fill="#00f" d="M0 128.001h511.993v128.001H0z"/>
    <path fill="red" d="M0 0h511.993v128.001H0z"/>
    <path fill="#ff0" d="M0 255.992h511.993v128H0z"/>
  </g>
</svg>
